package com.hzp.micromall.content.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.hzp.micromall.content.dao.SubjectCategoryDao;
import com.hzp.micromall.content.entity.SubjectCategory;
import com.hzp.micromall.content.service.SubjectCategoryService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 专题分类表 服务实现类
 * </p>
 *
 * @author houzipeng
 * @since 2022-03-08 10:15:14
 */
@Service
public class SubjectCategoryServiceImpl extends ServiceImpl<SubjectCategoryDao, SubjectCategory> implements SubjectCategoryService {

    @Autowired
    private SubjectCategoryDao subjectCategoryDao;

    @Override
    public List<SubjectCategory> listAll() {
        return subjectCategoryDao.selectList(null);
    }
}
